package com.qf.main.pharmacy.common.vo;

/**
 * @author chengqiang
 * @Create 2024-02-04-12:11
 * @Description:
 */
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 @author chengqiang
 @Create 2024-02-04-12:08
 @Description:
 */
@ApiModel(description="pharmacy")
@Data
public class PharmacyVO {
    /**
     * 药品主键id（药品编号）
     */
    @TableId(value = "pharmacy_id", type = IdType.INPUT)
    @ApiModelProperty(value="药品主键id（药品编号）")
    private Integer pharmacyId;

    /**
     * 药品名称
     */
    @TableField(value = "pharmacy_name")
    @ApiModelProperty(value="药品名称")
    private String pharmacyName;

    /**
     * 药品价格
     */
    @TableField(value = "pharmacy_price")
    @ApiModelProperty(value="药品价格")
    private BigDecimal pharmacyPrice;

    /**
     * 描述
     */
    @TableField(value = "pharmacy_desc")
    @ApiModelProperty(value="描述")
    private String pharmacyDesc;

    /**
     * 发布时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value="发布时间")
    private Date createDate;

    /**
     * 用法用量
     */
    @TableField(value = "pharmacy_usage")
    @ApiModelProperty(value="用法用量")
    private String pharmacyUsage;

    /**
     * 批准文号
     */
    @TableField(value = "approval_number")
    @ApiModelProperty(value="批准文号")
    private String approvalNumber;

    /**
     * 药企
     */
    @TableField(value = "Pharmaceutical_companies")
    @ApiModelProperty(value="药企")
    private String pharmaceuticalCompanies;
    /**
     * 审核状态(1未审核0已审核)
     */
    @TableField(value = "examine_status")
    @ApiModelProperty(value="审核状态(1未审核0已审核)")
    private Integer examineStatus;

    /**
     * 0正常1删除
     */
    @TableField(value = "del_status")
    @ApiModelProperty(value="0正常1删除")
    private Integer delStatus;

    /**
     * 非处方药0处方药1
     */
    @TableField(value = "prescription_status")
    @ApiModelProperty(value="非处方药0处方药1")
    private Integer prescriptionStatus;

    /**
     * 药品库存
     */
    @TableField(value = "pharmacy_inventory")
    @ApiModelProperty(value="药品库存")
    private Integer pharmacyInventory;
    /**
     * 类型
     */
    @TableField(value = "pharmacy_types")
    @ApiModelProperty(value = "类型")
    private Integer pharmacyTypes;


    @TableField(value = "pharmacy_img")
    @ApiModelProperty(value = "图片")
    private String pharmacyImg;





    /**
     * 店铺号
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableField(value = "pharmacy_shop_no")
    @ApiModelProperty(value = "店铺号")
    private Long pharmacyShopNo;


    public static final String COL_PHARMACY_ID = "pharmacy_id";

    public static final String COL_PHARMACY_NAME = "pharmacy_name";

    public static final String COL_PHARMACY_USAGE = "pharmacy_usage";

    public static final String COL_APPROVAL_NUMBER = "approval_number";

    public static final String COL_PHARMACEUTICAL_COMPANIES = "Pharmaceutical_companies";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_EXAMINE_STATUS = "examine_status";

    public static final String COL_DEL_STATUS = "del_status";

    public static final String COL_PRESCRIPTION_STATUS = "prescription_status";

    public static final String COL_PHARMACY_DESC = "pharmacy_desc";

    public static final String COL_PHARMACY_PRICE = "pharmacy_price";
}
